package com.atguigu.tingshu.common.constant;

public class TingShuMqConstants {
    //登录注册相关交换机，队列，路由键
    public static final String QUEUE_USER_REGISTER = "tingShu.user.register";
    public static final String TING_SHU_USER_EXCHANGE = "tingShu.user.exchange";
    public static final String TING_SHU_USER_ROUTING_KEY = "tingShu.user.routingKey";

    //es实时专辑数据相关的交换机，队列，路由键
    public static final String ALBUM_EXCHANGE = "album.exchange";
    public static final String ALBUM_SAVE_UPDATE_QUEUE = "album.save.update";
    public static final String ALBUM_SAVE_UPDATE_RK = "album.save.update";
    public static final String ALBUM_DELETE_QUEUE = "album.delete";
    public static final String ALBUM_DELETE_RK = "album.delete";

    //用户相关的交换机，RK  队列
    public static final String USER_EXCHANGE = "user.exchange";
    public static final String TRACK_STAT_QUEUE = "track.stat.queue";
    public static final String TRACK_STAT_RK = "track.stat.rk";


    public static final String USER_RECORD_QUEUE = "user.record.queue";
    public static final String USER_RECORD_RK = "user.record.rk";

    //mxw相关的交换机  RK  队列
    public static final String MXW_EXCHANGE = "mxw.exchange";
    public static final String MXW_QUEUE = "mxw.queue";
    public static final String MXW_RK = "mxw.test";

    //account相关的交换机，RK，队列
    public static final String ORDER_EXCHANGE = "order.exchange";
    public static final String ACCOUNT_DEDUCT_QUEUE = "account.deduct.queue";
    public static final String ACCOUNT_DEDUCT_RK = "account.deduct.rk";
    public static final String ACCOUNT_UNLOCK_QUEUE = "account.unlock.queue";
    public static final String ACCOUNT_UNLOCK_RK = "account.unlock.rk";
    public static final String ORDER_STATUS_RK = "order.status.rk";
    public static final String ORDER_STATUS_QUEUE = "order.status.queue";
    public static final String ACCOUNT_REFUND_QUEUE = "account.refund.queue";
    public static final String ACCOUNT_REFUND_RK = "account.refund.rk";
    public static final String PAID_STAT_QUEUE = "paid.stat.queue";
    public static final String PAID_STAT_RK = "paid.stat.rk";
    //延时、死信 队列及RK
    public static final String ORDER_TTL_QUEUE = "order.ttl.queue";
    public static final String ORDER_TTL_RK = "order.ttl.rk";
    public static final String ORDER_DEAD_QUEUE = "order.dead.queue";
    public static final String ORDER_DEAD_RK = "order.dead.rk";
    public static final int ORDER_TTL_TIME = 30*60*1000;
    public static final String ACCOUNT_TTL_QUEUE = "account.ttl.queue";
    public static final String ACCOUNT_TTL_RK = "account.ttl.rk";
    public static final String ACCOUNT_DEAD_RK = "account.dead.rk";
    public static final int ACCOUNT_TTL_TIME = 10*60*60*1000;


}
